package com.todoapp;

import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.IModel;
import org.apache.wicket.util.convert.IConverter;

public class CustomLabel extends Label {

	private static final long serialVersionUID = -4627680438257878767L;
	private IConverter converter;

	
	public CustomLabel(String id, IModel<?> model, IConverter converter) {
		super(id, model);
		this.converter = converter;
	}
	
	@Override
	public IConverter getConverter(Class type) {
		return converter;
	}

}
